

function initialize(scene)

end

function frameReady(scene, elapsedTime)
 
end

function reset(scene)

end

function addNodeAndRelease(scene, node)
    scene:addNode(node)
    node:release()
    return node
end

function addChildAndRelease(parent, child)
    parent:addChild(child)
    child:release()
    return child
end

function getCurrentSnapShot(scene, bufferScalex,bufferScaley)
    local node = KuruSnapshotNode.create()
    scene:addNode(node)
    node:release()
    node:setFrameBufferScale(bufferScalex, bufferScaley)
    return node
end